Guild Prototype
from RubyKaigi2018
http://rubykaigi.org/2018/presentations/ko1.html#jun01
13:00 - 13:40, day 2, Main Hall #rubykaigiA
demo
40 vCPUs
フィボナッチ数列をやる
100_000times { fib(23) }
FibHubGuild というロードバランサー的なのがいて、ワーカーが作られる
Guild が多い方が遅い
GC / object allocation 周りの問題
shareablue and non-sharable
オブジェクトが共有可能か
Shareable objects
Immutable objects
他の guild と共有可能
Class/Module Objects
クラス変数とかの mutable なクラスはだめ
Special mutable objects
なんだろうmizukmb.icon
shared/concurrent data structure
Guild object もそう
Actor model
Guild のコミュニケーション API
改善した Guild だとネイティブでスレッドが作成される
以前はシミュレートしたもの